﻿<%@ Page Language="C#" AutoEventWireup="true"  MasterPageFile="~/HVTPanel/MPages/HvtMaster.Master" CodeBehind="MessageList.aspx.cs" Inherits="HoverTreeWeb.HVTPanel.UserMessage.MessageList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
        .keleyitable {
            width: 800px;
        }

            .keleyitable table, td, th {
                border: 1px solid green;margin-top:10px;
            }
        .klytd {width:100px;text-align:right
        }
        .hvttd {
        width:500px}
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="BodyContentPlaceHolder" runat="server">
    <div style="margin:0px auto;" class="keleyitable"><h2>留言列表</h2>
         <asp:Repeater runat="server" ID="rptMessageList">
             <ItemTemplate>
                 <table>
            <tr><td class="klytd"><a href="HandleMessage.aspx?id=<%#Eval("hvtid") %>" target="_blank">留言时间</a>：</td><td class="hvttd"><%#Eval("hvttime") %></td></tr>
            <tr><td class="klytd">留言人：</td><td class="hvttd"><%#HttpUtility.HtmlEncode(Eval("hvtuser")) %></td></tr>
            <tr><td class="klytd">标题：</td><td class="hvttd"><%#HttpUtility.HtmlEncode(Eval("hvttitle")) %></td></tr>
            <tr><td class="klytd">内容：</td><td class="hvttd"><%#HttpUtility.HtmlEncode(Eval("hvtcontent")) %></td></tr>
            <tr><td class="klytd">回复：</td><td class="hvttd"><%#HttpUtility.HtmlEncode(Eval("hvtreply")) %></td></tr>
        </table>
             </ItemTemplate>
         </asp:Repeater>
        </div>
   <asp:Literal runat="server" ID="ltlPages" />
    <div style="width:800px;margin:10px auto;font-family:Arial, Helvetica, sans-serif;text-align:center;">HoverTree &copy; 2015 keleyi.com  </div>
    <!--asp.net的开源项目，http://hovertree.codeplex.com -->
</asp:Content>
